function sendClickinfo(id,url) {
	if (id!="" && url!="") {
		var xmlhttp = null;
		if (window.XMLHttpRequest) {
		 	xmlhttp = new XMLHttpRequest();
		} else {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		var baseurl = window.location.toString();
		var cut = baseurl.lastIndexOf("/");
		baseurl = baseurl.substr(0,cut+1)+"clickcount.php?id="+id.toString();
		xmlhttp.open("GET",baseurl,true);
		xmlhttp.send();
		window.open(url);
		//alert(xmlhttp.responseText);
	}
}